package com.ruoyi.web.controller.demo.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 使用记录对象 car_use_record
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class CarUseRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id 记录id */
    @Excel(name = "记录id 记录id")
    private Long recordId;

    /** 车辆编号 操作车辆id */
    @Excel(name = "车辆编号 操作车辆id")
    private Long recordCar;

    /** 操作名称 操作名称 */
    @Excel(name = "操作名称 操作名称")
    private String operationName;

    /** 创建人 创建人 */
    @Excel(name = "创建人 创建人")
    private Long creater;

    /** 创建时间 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间 创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 车辆列信息 */
    private List<CarList> carListList;

    private String createName;
    private CarList carList;

    /** 车辆名称 车辆名称 */
    @Excel(name = "车辆名称 车辆名称")
    private String name;
    /** 车辆颜色 车辆颜色 */
    @Excel(name = "车辆颜色 车辆颜色")
    private String color;

    /** 车牌 车牌号 */
    @Excel(name = "车牌 车牌号")
    private String card;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }


    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public CarList getCarList() {
        return carList;
    }

    public void setCarList(CarList carList) {
        this.carList = carList;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setRecordCar(Long recordCar) 
    {
        this.recordCar = recordCar;
    }

    public Long getRecordCar() 
    {
        return recordCar;
    }
    public void setOperationName(String operationName) 
    {
        this.operationName = operationName;
    }

    public String getOperationName() 
    {
        return operationName;
    }
    public void setCreater(Long creater)
    {
        this.creater = creater;
    }

    public Long getCreater()
    {
        return creater;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public List<CarList> getCarListList()
    {
        return carListList;
    }

    public void setCarListList(List<CarList> carListList)
    {
        this.carListList = carListList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("recordCar", getRecordCar())
            .append("operationName", getOperationName())
            .append("creater", getCreater())
            .append("createdTime", getCreatedTime())
            .append("carListList", getCarListList())
            .toString();
    }
}
